package com.cs.contract.controller;

import com.cs.contract.service.NonSupTenderProjectService;
import com.cs.contract.domain.NonSupTenderProject;
import com.ruoyi.common.core.web.controller.BaseController;
import com.ruoyi.common.core.web.page.TableDataInfo;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @Author：zrx
 * @Package：com.cs.controller
 * @Project：RuoYi-Cloud
 * @name：NonSupTenderProjectController
 * @Date：2024/11/19 17:44
 * @Filename：NonSupTenderProjectController
 */
@RestController
@RequestMapping("/nonpro")
public class NonSupTenderProjectController extends BaseController {
    private final NonSupTenderProjectService nonSupTenderProjectService;

    public NonSupTenderProjectController(NonSupTenderProjectService nonSupTenderProjectService) {
        this.nonSupTenderProjectService = nonSupTenderProjectService;
    }

    @GetMapping("/listNonSupTenderProject")
    public TableDataInfo listNonSupTenderProject(NonSupTenderProject nonSupTenderProject) {
        startPage();
        List<NonSupTenderProject> list = nonSupTenderProjectService.listNonSupTenderProject(nonSupTenderProject);
        return getDataTable(list);
    }
}
